@import url(../base.css);

$font-size: 12px;
header {
    width: 100%;
    height: 217px;
    position: relative;
    overflow: hidden;
    .header-top {
        width: 100%;
        height: 36px;
        line-height: 36px;
        background-color: #ccc;
        font-size: $font-size;
        text-align: center;
        color: black;
        a {
            font-weight: 700;
        }
        span {
            font-size: 35px;
            line-height: 35px;
            font-weight: 100;
            color: black;
            float: right;
            margin-right: 10px;
            cursor: pointer;
        }
    }
    .header-main {
        width: 100%;
        height: 96px;
        overflow: hidden;
        // background-color: rgb(240, 224, 224);
        &-left {
            width: 208px;
            float: left;
            margin-left: 20px;
            margin-top: 28px;
            ul {
                float: right;
                height: 38px;
                li {
                    width: 103px;
                    line-height: 38px;
                    border-right: 1px solid #666;
                    float: left;
                    text-align: right;
                    padding-right: 24px;
                    box-sizing: border-box;
                    a {
                        color: #666;
                        font-size: 14px;
                        cursor: pointer;
                    }
                }
            }
        }
        &-logo {
            width: 118px;
            height: 96px;
            float: left;
            margin-left: 481px;
            a {
                display: block;
                width: 100%;
                height: 100%;
                background: url(../../img/logo.JPG) no-repeat center 28px;
                background-size: 100%;
            }
            h1 {
                display: none;
            }
        }
        &-right {
            height: 38px;
            margin-top: 28px;
            margin-right: 20px;
            float: right;
            ul{
                height: 38px;
                li{
                    float: left;
                    line-height: 38px;
                    border-right: 1px solid #999;
                    padding: 0 20px;
                    a{
                        color: #666;
                        font-size: 14px;
                    }
                }
                li:nth-child(3){
                    border:none;
                    span{
                        float: left;
                        width: 15px;
                        height: 19px;
                        margin-top: 13px;
                        margin-right: 2px;
                        background: url(../../img/bao.png) no-repeat center;
                    }
                }
            }
        }
    }
    .header-nav{
        width: 100%;
        height: 55px;
        background-color:black;
        overflow: hidden;
        &-left{
            width: 135px;
            line-height: 55px;
            float: left;
            text-align: right;
            margin-left: 145px;
            color: #ccc;
            font-size: 14px;
            background: url(/img/618.png) left bottom no-repeat;
            background-size: 52px 52px;
        }
        ul{
            width: 650px;
            margin: 0 auto;
            line-height: 55px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            float: left;
            margin-left: 100px;
            li{
                padding: 0 20px
            }
            li>a{
                color: #ccc;
                font-size: 16px;
            }
            li:hover a{
                color: #fff;
            }
        }
        form{
            float: right;
            margin-right: 440px;
            position: relative;
        }
        form>.search{
            height: 51px;
            width: 270px;
            border: 1px soli #999999;
            font-size: 16px;
            color: #c4c3c3;
            position: absolute;
            top: 1px;
        }
        form>.btn{
            width: 25px;
            height: 25px;
            border: none;
            position: absolute;
            left: 230px;
            top: 16px;
            background:url(/img/search.png)center center no-repeat ;
        }
    }
    .header-advertising{
        width: 100%;
        height: 30px;
        background-color: #c31725;
        overflow: hidden;
        .advertising{
            // width: 300px;
            height: 30px;
            text-align: center;
            overflow: hidden;
            .one .two{
                a{
                    font-size: 12px;
                    color: white;
                    line-height: 30px;
                }
            }
        }
    }
}
